package com.yyyyglxt.yygl.workdayManage.service.impl;

import com.yyyyglxt.yygl.workdayManage.dao.WorkApplyDao;
import com.yyyyglxt.yygl.workdayManage.domain.WorkApplyDO;
import com.yyyyglxt.yygl.workdayManage.service.WorkApplyService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class WorkApplyServiceImpl implements WorkApplyService {
	@Autowired
	private WorkApplyDao workApplyDao;
	
	@Override
	public WorkApplyDO get(Integer aid){
		return workApplyDao.get(aid);
	}
	
	@Override
	public List<WorkApplyDO> list(Map<String, Object> map){
		return workApplyDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return workApplyDao.count(map);
	}
	
	@Override
	public int save(WorkApplyDO workApply){
		return workApplyDao.save(workApply);
	}
	
	@Override
	public int update(WorkApplyDO workApply){
		return workApplyDao.update(workApply);
	}
	
	@Override
	public int remove(Integer aid){
		return workApplyDao.remove(aid);
	}
	
	@Override
	public int batchRemove(Integer[] aids){
		return workApplyDao.batchRemove(aids);
	}
	
}
